package com.zlkj.pro.modular.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zlkj.pro.modular.admin.entity.User;
import com.zlkj.pro.modular.admin.model.dto.UserDTO;
import com.zlkj.pro.modular.admin.model.vo.UserVO;
import com.zlkj.pro.modular.business.model.vo.AgentVO;

import java.util.List;


/**
 * @author liyang
 * @date 2024/4/6
 * @time 14:28
 */
public interface AppUserMapper extends BaseMapper<User> {

    UserVO findDetail(Long dto);

    AgentVO getAgentInfo(Long userId);

    List<UserVO> getAgentUserList(UserDTO dto);

    List<UserVO> findManagers(UserDTO dto);

    UserVO getAppUserDetail(Long userId);

    Long getAgentId(Long userId);

    List<UserVO> getAgentUserListByAgentId(UserDTO dto);
}